package org.boulderfoodrescue.webapp.client.rpc;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.OneTimeEvent;
import org.boulderfoodrescue.webapp.shared.Pickup;
import org.boulderfoodrescue.webapp.shared.RecurringEvent;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("timeSlot")
public interface TimeSlotService extends RemoteService {
	public Long saveOneTimeEvent(OneTimeEvent event);
	public List<OneTimeEvent> getOneTimeEvents(Long locationKey);
	public RecurringEvent saveRecurringEvent(RecurringEvent event);
	public List<RecurringEvent> getRecurringEvent(Long locationKey);
	public List<Pickup> deleteOneTimeEvent(OneTimeEvent event);
	public List<Pickup> deleteRecurringEvent(RecurringEvent event);
}
